home *** CD-ROM | disk | FTP | other *** search
- echo off
- REM function key batch file from Shar Feldheim
- REM 21:53:53 1/30/1988
- cursoff
- goto start
- :start
- cls
- echo
- echo ╔══════════════════════════════════════╗
- echo ║ Disk-Count Software, Inc. ║
- echo ║ ║
- echo ║ Product Catalog and order forms ║
- echo ╚══════════════════════════════════════╝
- echo
- echo Type the Function key for your choice:
- echo
- echo F1 Print the Product Catalog.
- echo F2 Print the order form only.
- echo F3 Display the Catalog on screen.
- echo F4 Help for DOS beginners.
- echo
- echo F5 Returns to DOS
- :reply
- reply
- if errorlevel 64 goto start
- if errorlevel 63 goto end
- if errorlevel 62 goto doshelp
- if errorlevel 61 goto showcat
- if errorlevel 60 goto printfrm
- if errorlevel 59 goto printcat
- goto reply
-
- :printcat
- echo
- echo Make sure your printer is turned on, then
- pause
- echo
- echo Printing the Disk-Count Software Product Catalog!
- type catalog.txt>prn
- goto start
-
- :printfrm
- echo
- echo Make sure your printer is turned on, then
- pause
- echo
- echo Printing the Disk-Count Software Ordering Information
- type product.txt>prn
- goto start
-
- :showcat
- echo
- echo Stop and start the display with Ctrl-S
- pause
- type catalog.txt
- goto start
-
- :doshelp
- cls
- echo
- echo ╔══════════════════════════════════════╗
- echo ║ Disk-Count Software, Inc. ║
- echo ║ ║
- echo ║ DOS help for beginning users ║
- echo ╚══════════════════════════════════════╝
- echo
- echo Type the Function key for your choice:
- echo
- echo F1 AUTOEXEC.BAT starts a program
- echo F2 Built-in DOS commands
- echo F3 CONFIG.SYS customizes DOS
- echo F4 Promotional message
- echo
- echo F5 Returns to DOS (any key for catalog menu)
- reply
- if errorlevel 64 goto start
- if errorlevel 63 goto end
- if errorlevel 62 goto message
- if errorlevel 61 goto config
- if errorlevel 60 goto builtin
- if errorlevel 59 goto autoexec
- goto doshelp
-
- :message
- echo
- echo Get the lowdown on what DOS can do with the
- echo "On-Screen DOS Assistant"
- echo Just type "HELP" and the Assistant is there
- echo to explain many DOS command.
- echo In the catalog on page 5!
- echo
- echo
- pause
- goto doshelp
-
- :config
- echo
- echo CONFIG.SYS is a file that you write. DOS reads it each time
- echo you start your computer. Many programs won't run without it.
- echo Type:" A>COPY CON CONFIG.SYS (press ENTER after each line)"
- echo FILES=20
- echo BUFFERS=20
- echo DEVICE=ANSI.SYS
- echo ^Z (press the F6 key, then ENTER)
- echo
- pause
- goto doshelp
-
- :builtin
- echo
- echo DOS has many built-in commands that you will use frequently.
- echo Here are a couple that you find in "On-Screen DOS Assistant".
- echo CLS -clears the computer screen
- echo DIR -displays the files on the disk
- echo TYPE "filename" -prints the 'file' on the screen
- echo REN "thisfile" "thatfile" -changes the name of a file
- echo
- pause
- goto doshelp
-
- :autoexec
- echo
- echo DOS looks for a file called AUTOEXEC.BAT when you start the
- echo computer. This file contains commands which are AUTOmatically
- echo EXECuted (carried out) after DOS has been loaded. The commands
- echo often clear the screen and start a program on the disk.
- echo
- echo Type this(no quotes): "A>TYPE AUTOEXEC.BAT" -see what one looks like.
- echo
- pause
- goto doshelp
-
- :end
- cls
- curson
- prompt $P$G
- echo Your new prompt line courtesy of Disk-Count Software.
- echo It tells you the drive and sub-directory path "A:\>"
-